package cn.stylefeng.guns.modular.orderCenter.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 订单中心
 * </p>
 *
 * @author Dong
 * @since 2023-08-11
 */
@TableName("p_order")
public class Order implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 20
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 模板ID
     */
    @TableField("tid")
    private Long tid;

    /**
     * 模板名称
     */
    @TableField("tname")
    private String tname;

    /**
     * 模板描述
     */
    @TableField("tms")
    private String tms;

    /**
     * 模板图
     */
    @TableField("tpic")
    private String tpic;

    /**
     * 模板价格
     */
    @TableField("tjiage")
    private BigDecimal tjiage;

    /**
     * 0待支付 1已支付
     */
    @TableField("state")
    private Integer state;

    /**
     * 支付日期
     */
    @TableField("payTime")
    private String payTime;

    /**
     * 创建日期
     */
    @TableField("createTime")
    private String createTime;

    /**
     * 支付方式
     */
    @TableField("payType")
    private String payType;

    /**
     * nonceStr
     */
    @TableField("nonceStr")
    private String nonceStr;

    /**
     * packages
     */
    @TableField("packages")
    private String packages;

    /**
     * paySign
     */
    @TableField("paySign")
    private String paySign;

    /**
     * timeStamp
     */
    @TableField("timeStamp")
    private String timeStamp;

    /**
     * signType
     */
    @TableField("signType")
    private String signType;

    /**
     * 用户
     */
    @TableField("uid")
    private Long uid;

    /**
     * 实际支付
     */
    @TableField("shifu")
    private BigDecimal shifu;

    /**
     * 订单编号
     */
    @TableField("orderNum")
    private String orderNum;

    /**
     * 微信订单
     */
    @TableField("wxOrder")
    private String wxOrder;

    /**
     * 支付宝订单
     */
    @TableField("aliOrder")
    private String aliOrder;

    /**
     * 下载链接
     */
    @TableField("downUrl")
    private String downUrl;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTms() {
        return tms;
    }

    public void setTms(String tms) {
        this.tms = tms;
    }

    public String getTpic() {
        return tpic;
    }

    public void setTpic(String tpic) {
        this.tpic = tpic;
    }

    public BigDecimal getTjiage() {
        return tjiage;
    }

    public void setTjiage(BigDecimal tjiage) {
        this.tjiage = tjiage;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getPackages() {
        return packages;
    }

    public void setPackages(String packages) {
        this.packages = packages;
    }

    public String getPaySign() {
        return paySign;
    }

    public void setPaySign(String paySign) {
        this.paySign = paySign;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public BigDecimal getShifu() {
        return shifu;
    }

    public void setShifu(BigDecimal shifu) {
        this.shifu = shifu;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getWxOrder() {
        return wxOrder;
    }

    public void setWxOrder(String wxOrder) {
        this.wxOrder = wxOrder;
    }

    public String getAliOrder() {
        return aliOrder;
    }

    public void setAliOrder(String aliOrder) {
        this.aliOrder = aliOrder;
    }

    public String getDownUrl() {
        return downUrl;
    }

    public void setDownUrl(String downUrl) {
        this.downUrl = downUrl;
    }

    @Override
    public String toString() {
        return "Order{" +
        "id=" + id +
        ", tid=" + tid +
        ", tname=" + tname +
        ", tms=" + tms +
        ", tpic=" + tpic +
        ", tjiage=" + tjiage +
        ", state=" + state +
        ", payTime=" + payTime +
        ", createTime=" + createTime +
        ", payType=" + payType +
        ", nonceStr=" + nonceStr +
        ", packages=" + packages +
        ", paySign=" + paySign +
        ", timeStamp=" + timeStamp +
        ", signType=" + signType +
        ", uid=" + uid +
        ", shifu=" + shifu +
        ", orderNum=" + orderNum +
        ", wxOrder=" + wxOrder +
        ", aliOrder=" + aliOrder +
        ", downUrl=" + downUrl +
        "}";
    }
}
